import axios from '@/libs/api.request.js'

export const findAllListBuilding = data =>{
  return axios.request({
    url: "/api/team/building/findAllList",
    method: "get",
    data:data
  })
}

export const findAllListBuildingTwo = data =>{
  return axios.request({
    url: "/api/team/building/findAllListTwo",
    method: "get",
    data:data
  })
}

export const jianfangList = data =>{
  return axios.request({
    url: "/api/team/building/jianfangList",
    method: "get",
    data:data
  })
}

export const zhuangxiuList = data =>{
  return axios.request({
    url: "/api/team/building/zhuangxiuList",
    method: "get",
    data:data
  })
}


export const findAlladdres = (address)=>{
  return axios.request({
    method:"get",
    url:"/api/team/building/findAlladdres/" + address,
    data:""
  })
}


export const teamNameJian = (teamName)=>{
  return axios.request({
    method:"get",
    url:"/api/team/building/teamNameJian/" + teamName,
    data:""
  })
}

export const teamNameZhuang = (teamName)=>{
  return axios.request({
    method:"get",
    url:"/api/team/building/teamNameZhuang/" + teamName,
    data:""
  })
}


export const findAllListAlladdres = (address)=>{
  return axios.request({
    method:"get",
    url:"/api/team/building/findAllListAlladdres/" + address,
    data:""
  })
}



export const findAllById = (constructionId) =>{
  return axios.request({
    method:"get",
    url:"/api/team/building/findAllById/" + constructionId,
    data:""
  })
};

export const findAllListDetails = data =>{
  return axios.request({
    url: "/api/team/building/findAllListDetails",
    method: "get",
    data:data
  })
}


export const getDetailsId = (constructionId) =>{
  return axios.request({
    method:"get",
    url:"/api/team/building/getDetailsId/" + constructionId,
  })
};


//查询施工队图片轮播
export const selectCpiUrl = (constructionId) =>{
  return axios.request({
    method:"post",
    url:"/api/team/building/selectCpiUrl/" + constructionId,
  })
};




